function ModuleDialogSelect(doc, container, width, height, user, date, options) {
  this._doc = doc;
  this._container = container;
  this._width = width;
  this._height = height;
  this._user = user;
  this._date = date;
  this._options = options;
  
  this._object = (options && options.object) ? options.object : null;
  this._dfault = (options && options.dfault) ? options.dfault : '';
  this._objects = (options && options.objects) ? options.objects : [];
  
  this._createElements();
};

ModuleDialogSelect.prototype._createElements = function() {
  var _self = this;
  this._gui = new DialogSelect(this._doc, this._container, this._width, this._height, this._user, this._date, this._options)._gui;
  
  DOMUtils.removeChildElements(this._gui.input);
  
  this._object._text = this._dfault;
  
  this._gui.input.options[this._gui.input.options.length] = new Option('-');
  for (var i = 0, il = this._objects.length; i < il; i++) {
    var obj = this._objects[i];
    option = new Option(obj.name);
    this._gui.input.options[this._gui.input.options.length] = option;
    if (option.text == this._object._text) {
      this._gui.input.selectedIndex = this._gui.input.options.length - 1;
    }
  }
  this._gui.input.onchange = function() { _self._object._text = ((this.options[this.selectedIndex].text != '-') ? this.options[this.selectedIndex].text : ''); };
  
};